Platform Explorer / Nuxeo Platform 5.8

Operation Document.Publish (Publish Document)

In component BuiltIn

Description

Publish the input document into the target section. Existing proxy is overrided if the override attribute is set. Return the created proxy.
Operation id Document.Publish
Category Document
Label Publish Document
Requires
Since

Parameters

Name Description Type Required Default value
target document yes  
override boolean no true 

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.document.PublishDocument
Contributing Component BuiltIn

JSON Definition

{
  "id" : "Document.Publish",
  "label" : "Publish Document",
  "category" : "Document",
  "requires" : null,
  "description" : "Publish the input document into the target section. Existing proxy is overrided if the override attribute is set. Return the created proxy.",
  "url" : "Document.Publish",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "target",
    "description" : null,
    "type" : "document",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "override",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  } ]
}